package com.example.demo.mongodb;

import java.util.List;

/**
 * @ClassName SysUserService
 * @Description:
 * @Author liyunjiang
 * @Date 2020/5/17 15:58
 */
public interface SysUserService {
    /**
     * 添加
     * @param user
     */
    void insert(SysUser user);

    List<SysUser> list();

    void delete(String id);

    SysUser findById(int id);
}
